package com.itcam.lease.web.admin.mapper;

import com.itcam.lease.model.entity.GraphInfo;
import com.itcam.lease.model.enums.ItemType;
import com.itcam.lease.web.admin.vo.graph.GraphVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GraphInfoMapper extends BaseMapper<GraphInfo> {

    /**
     * 查询graphInfoList
     * @param itemType
     * @param id
     * @return
     */
    List<GraphVo> selectListByItemTypeAndId(ItemType itemType, Long id);
}